g + h + j + k = t

 
Numbers to 50
Row and column totals are red
Diagonal total is green